package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-11-08
 */
@Data
@TableName("Balance_BillDetails")
@ApiModel(value = "BalanceBilldetailsDO对象", description = "")
public class BalanceBillDetailsDO implements Serializable {


    private static final long serialVersionUID = -8701616976535030066L;
    @ApiModelProperty("账单明细编号")
    @TableId(value = "Detail_ID", type = IdType.AUTO)
    private Long detailId;

    @ApiModelProperty("订单编号")
    private Long detailOrderid;

    @ApiModelProperty("订单合同编码")
    private String detailPactcode;

    @ApiModelProperty("发站省")
    private Long detailFromprovince;

    @ApiModelProperty("发站市")
    private Long detailFromcity;

    @ApiModelProperty("到站省")
    private Long detailToprovince;

    @ApiModelProperty("到站市")
    private Long detailTocity;

    @ApiModelProperty("总体积")
    private Double detailVolume;

    @ApiModelProperty("总重量")
    private Double detailWeight;

    @ApiModelProperty("描述")
    private String detailDescription;

    @ApiModelProperty("零担费用")
    private Double detailLessload;

    @ApiModelProperty("整车费用")
    private Double detailFullload;

    @ApiModelProperty("提货费")
    private Double detailPick;

    @ApiModelProperty("送货费")
    private Double detailDelivery;

    @ApiModelProperty("装货费")
    private Double detailOnload;

    @ApiModelProperty("卸货费")
    private Double detailOffload;

    @ApiModelProperty("最低收费")
    private Double detailMin;

    @ApiModelProperty("附加费")
    private Double detailAddition;

    @ApiModelProperty("保费")
    private Double detailInsurance;

    @ApiModelProperty("总金额")
    private Double detailTotal;

    @ApiModelProperty("添加者")
    private Long detailAuthor;

    @ApiModelProperty("添加时间")
    private LocalDateTime detailInserttime;

    @ApiModelProperty("修改者")
    private Long detailUpdater;

    @ApiModelProperty("修改时间")
    private LocalDateTime detailUpdatetime;

    @ApiModelProperty("是否失效")
    private Integer detailInvalid;

    @ApiModelProperty("备注")
    private String detailComments;

    private Long detailDocid;

    private Double detailAmount;

    private Double detailTax;

    private Double detailReceiptqty;

    private String detailCode;

    @ApiModelProperty("订单异常原因")
    private String detailExcreason;

    @ApiModelProperty("订单异常状态")
    private Integer detailExcstatus;

    @ApiModelProperty("源订单详情ID")
    private Long detailSrcdetailid;

    @ApiModelProperty("显示订单ID 如果是拼车单是拼车单主单ID")
    private Long detailShoworderid;


}
